package vendas.dto;

public class MasterUser extends User {

    private static final long serialVersionUID = 7894732949995430945L;
    
    private static MasterUser instance;

    private MasterUser() {
        super(999999999);
        setName("Usuario Master");
        setEmail("master@gminet.com.br");
        setPassword("gminet");
        setStatus(UserStatus.ENABLED);
        setType(UserType.ADMINISTRATOR);
    }

    public static MasterUser getInstance() {
        if (MasterUser.instance == null) {
            MasterUser.instance = new MasterUser();
        }
        return MasterUser.instance;
    }

}
